package com.xgzit.xgzmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xgzit.common.utils.PageUtils;
import com.xgzit.xgzmall.product.entity.SpuImagesEntity;

import java.util.List;
import java.util.Map;

/**
 * spu图片
 *
 * @author xgz
 * @email 923904706@qq.com
 * @date 2021-03-20 14:49:08
 */
public interface SpuImagesService extends IService<SpuImagesEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
    * 保存商品的图片集
    * @param spuId: spuId
    * @param images: 图片集
    * @return void
    */
    void saveImages(Long spuId, List<String> images);
}

